import request from '@/config/commonHttp.js'
export default{
		getfeedBack(params){
			return request.get("/forms.feedback/list",{params});
		},
		getResources(params){
			return request.post("/forms.resources/list",{params});
		},
		getStaffing(params){
			return request.post("/forms.staffing/list",{params});
		},
		getSupport(params){
			return request.post("/forms.support/list",{params});
		},
		addfeedBack(params){
			return request.post("/forms.feedback/add",{params});
		},
		addResources(params){
			return request.post("/forms.resources/add",{params});
		},
		addStaffing(params){
			return request.post("/forms.staffing/add",{params});
		},
		addSupport(params){
			return request.post("/forms.support/add",{params});
		},
		editfeedBack(params){
			return request.post("/forms.feedback/edit",{params});
		},
		editResources(params){
			return request.post("/forms.resources/edit",{params});
		},
		editStaffing(params){
			return request.post("/forms.staffing/edit",{params});
		},
		editSupport(params){
			return request.post("/forms.support/edit",{params});
		},
		
		//获取表单的项
		getFormInfo(params){
			return request.get("/forms/info",{params})
		}
}
